package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter@Setter
public class RechargeTime {
    private Long id;
    //充值前总次数
    private Integer beforeTime;
    //充值后的总次数
    private Integer afterTime;
    //充值次数
    private Integer time;
    //充值方式
    private String operation;
    //充次类型
    private String payment;
    //充值时间
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date rechargeDate;

    //有效时间
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date validDate;
    //充值金额
    private Long recharge;

    private String remark;

    private String cardNumber;
    //充值项目
    private String productName;

}